/**
 * 
 */
package coop.tecso.test.objets;

import javax.persistence.Column;
import javax.validation.constraints.Digits;

/**
 * @author dicardo
 *
 */
public class SimpleAnnotatedObject {

	@Digits(integer = 10, fraction = 0)
	private String digitable;
	@Column(length = 10)
	private String columnable;

	/**
	 * @param digitable
	 * @param columnable
	 */
	public SimpleAnnotatedObject(String digitable, String columnable) {
		super();
		this.digitable = digitable;
		this.columnable = columnable;
	}

	/**
	 * @return the digitable
	 */
	public String getDigitable() {
		return digitable;
	}

	/**
	 * @param digitable
	 *            the digitable to set
	 */
	public void setDigitable(String digitable) {
		this.digitable = digitable;
	}

	/**
	 * @return the columnable
	 */
	public String getColumnable() {
		return columnable;
	}

	/**
	 * @param columnable
	 *            the columnable to set
	 */
	public void setColumnable(String columnable) {
		this.columnable = columnable;
	}

}
